import request from './../utils/request'

export function validateTel (params) {
  return request.post('/users/validateTel', params)
}

export function sendCodeFn (params) {
  return request.post('/users/sendCode', params)
}

export function validateTelCode (params) {
  return request.post('/users/validateTelCode', params)
}

export function registerFn (params) {
  return request.post('/users/register', params)
}

export function getUserlist (params) {
  return request.get('/users/list', {params})
}